<html>
<body>

<script type="text/javascript">
personObj=new Object();
personObj.firstname="John";
personObj.lastname="Doe";
personObj.age=50;
personObj.eyecolor="blue";

document.write(personObj.firstname + " is " + personObj.age + " years old.");
</script>

</body>
</html>